package vg.services.graph_view_manager.interfaces.graph_view;

import java.util.Observer;

import javax.swing.JMenuItem;

public interface IGraphObservable {
	/**
	 * Adds new menu item to graph view popup menu.
	 */
	public void addPopupMenuItem(JMenuItem item);

	/**
	 * Removes existing item from graph view popup menu.
	 */
	public void removePopupMenuItem(JMenuItem item);
	
	/**
	 * Adds an observer to the set of observers for this object.
	 */
	public void addObserver(Observer o);

	/**
	 * Removes an observer from the set of observers of this object.
	 */
	public void removeObserver(Observer o);

	/**
	 * Deletes all observers from the set of observers of this object.
	 */
	public void deleteAllObservers();
}
